<#if modulesTable??>
    <#list modulesTable as module>
        <#if module_has_next>
        <tr class="element show-tree">
        <#else>
        <tr class="element show-tree last">
        </#if>
        <td style="width: 25%">
        ${module.moduleName!''}
            <input class="checkTable" type="checkbox"/><label
                for="opt01"></label>&nbsp;
        </td>
        <td>
            <#if module.authDataList??>
                <#list module.authDataList as authData>
                    <#if assignAuthList?seq_contains(authData.authId!'')>
                        <input name="authId" type="checkbox" value="${authData.authId}" checked="checked"/><label
                            for="opt01">${authData.authName}</label>&nbsp;
                    <#else>
                        <input name="authId" type="checkbox" value="${authData.authId}"/><label
                            for="opt01">${authData.authName}</label>&nbsp;
                    </#if>
                </#list>
            </#if>
        </td>
    </tr>
        <#if module.childrenModuleList??>
            <#assign modulesTable=module.childrenModuleList/>
            <#include "childrenModuleAuth.ftl"/>
        </#if>
    </#list>
</#if>








